package cn.wxz1997.permission.dao;

import cn.wxz1997.permission.pojo.RoleUser;
import org.apache.ibatis.annotations.Param;

public interface RoleUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RoleUser record);

    int insertSelective(RoleUser record);

    RoleUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RoleUser record);

    int updateByPrimaryKey(RoleUser record);

    Integer deleteByUserId(@Param("userId") Integer userId);

    Integer deleteByRoleId(@Param("roleId") Integer roleId);
}